.class public Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;
.super Lcom/estrongs/android/pop/esclasses/ESActivity;
.source "SceneDialogActivity.java"


# instance fields
.field private d:Lcom/estrongs/android/pop/app/scene/show/dialog/b;

.field private e:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;-><init>()V

    return-void
.end method

.method private A()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->e:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    invoke-static {p0, v0}, Les/ys;->a(Landroid/content/Context;Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;)Lcom/estrongs/android/pop/app/scene/show/dialog/b;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->d:Lcom/estrongs/android/pop/app/scene/show/dialog/b;

    return-void
.end method

.method private B()V
    .locals 0

    return-void
.end method


# virtual methods
.method protected f(Z)V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->e:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    if-eqz v0, :cond_0

    .line 2
    invoke-static {}, Les/wp;->g()Les/wp;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->e:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget v2, v1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->sceneType:I

    iget v1, v1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->sceneActionType:I

    invoke-virtual {v0, v2, v1, p1}, Les/wp;->a(IIZ)V

    if-nez p1, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->finish()V

    :cond_0
    return-void
.end method

.method public finish()V
    .locals 1

    .line 1
    invoke-super {p0}, Landroid/app/Activity;->finish()V

    const/4 v0, 0x0

    .line 2
    :try_start_0
    invoke-virtual {p0, v0, v0}, Landroid/app/Activity;->overridePendingTransition(II)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 3
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/o;->b(Landroid/app/Activity;)V

    .line 3
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 4
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    const-string v0, "scene_dialog"

    invoke-virtual {p1, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->e:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    .line 5
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->e:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    if-nez p1, :cond_1

    .line 6
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->finish()V

    return-void

    .line 7
    :cond_1
    invoke-static {p0}, Lcom/estrongs/android/util/o0;->a(Landroid/content/Context;)Z

    move-result p1

    const/4 v0, 0x0

    if-nez p1, :cond_2

    const-string p1, "========Context\u4e3a\u7a7a"

    .line 8
    invoke-static {p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->e:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget v1, p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->sceneType:I

    iget p1, p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->sceneActionType:I

    const/16 v2, 0x8

    invoke-static {v1, p1, v2}, Lcom/estrongs/android/pop/app/unlock/f;->a(III)V

    .line 10
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->f(Z)V

    return-void

    .line 11
    :cond_2
    invoke-static {}, Lcom/estrongs/android/pop/app/unlock/a;->c()Lcom/estrongs/android/pop/app/unlock/a;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/unlock/a;->b()Z

    move-result p1

    if-nez p1, :cond_3

    const-string p1, "========\u91cd\u590d\u5f39\u7a97"

    .line 12
    invoke-static {p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->e:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    iget v1, p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->sceneType:I

    iget p1, p1, Lcom/estrongs/android/pop/app/scene/info/show/InfoShowScene;->sceneActionType:I

    const/16 v2, 0x14

    invoke-static {v1, p1, v2}, Lcom/estrongs/android/pop/app/unlock/f;->a(III)V

    .line 14
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->f(Z)V

    return-void

    .line 15
    :cond_3
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->A()V

    .line 16
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->d:Lcom/estrongs/android/pop/app/scene/show/dialog/b;

    if-eqz p1, :cond_5

    invoke-interface {p1}, Lcom/estrongs/android/pop/app/scene/show/dialog/b;->a()Z

    move-result p1

    if-nez p1, :cond_4

    goto :goto_0

    .line 17
    :cond_4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->d:Lcom/estrongs/android/pop/app/scene/show/dialog/b;

    invoke-interface {p1}, Lcom/estrongs/android/pop/app/scene/show/dialog/b;->onCreate()V

    .line 18
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->d:Lcom/estrongs/android/pop/app/scene/show/dialog/b;

    new-instance v0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity$a;-><init>(Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;)V

    invoke-interface {p1, v0}, Lcom/estrongs/android/pop/app/scene/show/dialog/b;->a(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->d:Lcom/estrongs/android/pop/app/scene/show/dialog/b;

    invoke-interface {p1}, Lcom/estrongs/android/pop/app/scene/show/dialog/b;->b()V

    const/4 p1, 0x1

    .line 20
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->f(Z)V

    .line 21
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->B()V

    return-void

    .line 22
    :cond_5
    :goto_0
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->f(Z)V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->d:Lcom/estrongs/android/pop/app/scene/show/dialog/b;

    if-eqz v0, :cond_0

    .line 3
    invoke-interface {v0}, Lcom/estrongs/android/pop/app/scene/show/dialog/b;->onDestroy()V

    const/4 v0, 0x0

    .line 4
    iput-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->d:Lcom/estrongs/android/pop/app/scene/show/dialog/b;

    :cond_0
    return-void
.end method

.method protected onRestoreInstanceState(Landroid/os/Bundle;)V
    .locals 2

    .line 1
    invoke-super {p0, p1}, Landroid/app/Activity;->onRestoreInstanceState(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/scene/show/dialog/SceneDialogActivity;->e:Lcom/estrongs/android/pop/app/scene/info/show/InfoShowSceneDialog;

    const-string v1, "scene_dialog"

    invoke-virtual {p1, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    return-void
.end method

.method protected onResume()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onResume()V

    return-void
.end method
